17. Add the Finance Processing Task Steps

The final Task step for this workflow is the Finance Processing step. If the claim approver approves the claim, or if the claim is less than or equal to $100, the workflow assigns a task to finance for processing the claim. In the previous two Task steps, you worked through the Task wizard to configure the rules and states for the workflow > SmartForm integration. In this task, you will not step through the entire wizard, but instead you will manually configure the integration later. This allows you full control over the form rules that integrate the workflow tasks with the form. It also demonstrates how to configure the workflow (and later on, the form rules) manually.

  1. Begin by adding a Task step to the design canvas, then connect it to the Approved outcome (Claim Approval > Decision steps). Configure the Task using the table below as a guide. If you need help, expand the "Show me how..." section.
    Tab/ScreenSettingNotes
    TASKINSTRUCTIONSEnter instructions that explain to the finance staff why they are assigned this task.
     ACTIONSFinance Processing Completed
    This task has just one action.
    FORMFORM TYPE
    SmartForm
    FORM
    Expense Claim Form

    You will use the Expense Claim Form for this task. You will create the state and integration rules manually in a later step.

    NOTE: Notice in the PARAMETERS section, a Serial Number is assigned, along with a State called (Base State). In a later step, you will change the state name to a new state, Finance Processing State.

    Open Task on a Form wizard
    REFERENCESData sources discovered

    There are no changes on this screen.

    OPEN TASKI will do it myself laterThis option binds the task to the SmartForm, but does not create a state or workflow integration rules on the form.
    Configuration Panel
    PARAMETERSState
    Finance Processing State
    In a later step, you will edit the Expense Claim Form, then add and configure the task rules for this new state.
    NOTE: Be sure to remember the exact name and spelling as it will need to match the new state in the form.
     Rename State
    Configuration Panel
    RECIPIENTSFinance Processing RoleUse the Type/Construct option to search for the finance role you created at the beginning of this tutorial.
    EMAIL ALERTDefaultYou will not customize the task notification email.
    PROPERTIESName
    Finance Processing
    Rename the step.
    1. Add a Task step to the design canvas and connect it to the Approved outcome.
      Add Task Step
    2. Select the Task so that it is active, then expand the Configuration Panel. Click the TASK tab to make it active. For the INSTRUCTIONS, enter
      An expense claim is ready for processing. Please process the claim, then action this task. Click the Finance Complete button to complete the task when ready.
    3. Add one ACTION,
      Finance Processing Completed
      Configure Actions
    4. Click the FORM tab. Change the FORM TYPE to SmartForm. Select Expense Claim Form for the FORM.
    5. The Open Task on a Form wizard launches.

    6. On the REFERENCES screen, there are no changes, so click NEXT.
    7. On the OPEN TASK screen, select I will do it myself later, then click NEXT. You have bound the SmartForm to the workflow task, but you will configure the workflow task integration rules in a later step.
      Configure Later
    8. Still on the FORM screen, look at the values under the PARAMETERS heading. Notice that two parameters were created mapped to the SmartForm: Serial Number and State: (Base State). These parameters are used to bind the workflow task to the SmartForm. Later on, you will edit the form and manually create a new state, then apply rules to it to open and action this task. Before moving on, you will edit the (Base State) name and change it to the new state name (that you will add to the form later).

    9. Select the (Base State) name and replace it with
      Finance Processing State
      then click outside the box to set it.
      SmartForm Parameters
    10. Click the RECIPIENTS tab. You will assign this task to the Finance Processing Role you created earlier. At the beginning of this tutorial, you created this role from the Management site, then added one role member. You can have many role members if you like, then adjust the recipient rules for how you want to handle each member's task assignment. The key feature of using a role is that you can assign a task to a group of users, then manage the group membership in one place. This avoids having to edit the workflow, then redeploying the workflow, each time you make a change. Click the Originator block, then select Type/Construct my own.
      Task Recipient
    11. Click the ellipses to launch the Select User screen. In the search text box, enter
      finance
      then select Finance Processing Role when it appears. Click OK.
      Select Role for Recipient
      Role Assigned as Recipient
    12. You will not customize the task notification email, so you can move on to the last configuration, renaming the step. Click the PROPERTIES tab. Change the step name to
      Finance Processing
      then collapse the Configuration Panel.
      Rename Step
  2. Add a Decision step and connect it to the Finance Processing step.
    1. Add a Decision step to generate the outcome. Connect it to the Finance Processing step.
      Add Decision Step
  3. The last two steps update the status and sends an email to the originator letting them know finance has processed their claim. You have configured these two steps before, for the Rejected outcome for the Claim Approval step. Once again, you will copy and paste the bundled steps, then reuse them.
    Copy and paste the Set Status Rejected bundled steps. Connect the new bundle to the Finance Processing Completed outcome. Edit the Set Status Rejected step. Change the Request Status value to Finance Processed. Change the step name to Set Status Finance Processed.
    1. Select the Set Status Rejected bundled steps. Copy and paste the bundle, then align it near the Finance Processing Complete outcome. Connect the outcome to the bundled steps.
      Copy Bundled Steps
    2. Click the toggle on the bundle so you can see both steps. Select the Set Status Rejected step, then expand the Configuration Panel. Change the Request Status to
      Finance Processed
      then change the step name to
      Set Status Finance Processed
      then collapse the Configuration Panel.
      Request Status
      Change Step Name
  4. Select the Email Originator Rejected step. Expand the Configuration Panel. Change the subject line and message body to reflect finance has processed the claim. Change the step name to Email Originator Finance Processed.
    1. Next, you will edit the email to tailor it for the finance processing task. Select the Email Originator Rejected step, then expand the Configuration Panel. Change both the SUBJECT and the BODY to indicate finance has processed the claim.
      Email Originator
    2. Change the step name to
      Email Originator Finance Processed
      then collapse the Configuration Panel.
      Change Step Name
  5. You have one more task to perform to complete this section. If the claim is less than or equal to $100, or if the approver approves the claim, the workflow routes to the Finance Processing step. You have completed the outcome from the Claim Approval step to the Finance Processing step. You still need to connect the outcome from the first Decision step to the Finance Processing step. Connect the Claim LTE $100 outcome from the first Decision step to the Finance Processing step.
    1. The first Decision analyzes the claim amount, then routes the workflow based on the amount. If the claim amount is greater than $100, the workflow moves to the Claim Approval task. If the claim amount is less than or equal to $100, the claim does not require approval and moves directly to the Finance Processing steps.
      Drag the Claim LTE $100 outcome from the first Decision step and connect it to the Finance Processing step.
      Connect Outcome to Step
    2. Your workflow should look similar to the image below.
      Expense Claim Workflow - Partial Four

Review

In this step, you configured the Finance Processing steps, and you will configure the Rules that bind the Finance processing user task to the form later on. You used the copy and paste functionality to reuse steps already configured. You completed the workflow by connecting the Claim LTE $100 outcome to the Finance Processing step. You now have business logic embedded in your workflow that analyzes the claim amount, then moves the workflow along the appropriate steps. In the next step, you will add End steps that provide a visual indication of ending outcomes.

Next Step: 18. Add an End Step to Complete the Workflow